package cn.com.assistant.mapper;

import cn.com.assistant.entity.SchemaEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface SchemaMapper extends BaseMapper<SchemaEntity> {

    /**
     * 根据关联id查询
     * @param principalId
     * @return
     */
    List<SchemaEntity> findByPId(@Param("principalId") String principalId);

}
 
 
